package com.liuwei.model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name="rp_transaction_message")
@NamedQuery(name="RpTransactionMessage.findAll", query="SELECT r FROM RpTransactionMessage r")
public class RpTransactionMessage implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name="areadly_dead")
	private String areadlyDead;

	@Column(name="consumer_queue")
	private String consumerQueue;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="create_time")
	private Date createTime;

	private String creater;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="edit_time")
	private Date editTime;

	private String editor;

	private String field1;

	private String field2;

	private String field3;

	@Lob
	@Column(name="message_body")
	private String messageBody;

	@Column(name="message_data_type")
	private String messageDataType;

	@Column(name="message_id")
	private String messageId;

	@Column(name="message_send_times")
	private short messageSendTimes;

	private String remark;

	private String status;

	private int version;

	public RpTransactionMessage() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAreadlyDead() {
		return this.areadlyDead;
	}

	public void setAreadlyDead(String areadlyDead) {
		this.areadlyDead = areadlyDead;
	}

	public String getConsumerQueue() {
		return this.consumerQueue;
	}

	public void setConsumerQueue(String consumerQueue) {
		this.consumerQueue = consumerQueue;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreater() {
		return this.creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public Date getEditTime() {
		return this.editTime;
	}

	public void setEditTime(Date editTime) {
		this.editTime = editTime;
	}

	public String getEditor() {
		return this.editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public String getField1() {
		return this.field1;
	}

	public void setField1(String field1) {
		this.field1 = field1;
	}

	public String getField2() {
		return this.field2;
	}

	public void setField2(String field2) {
		this.field2 = field2;
	}

	public String getField3() {
		return this.field3;
	}

	public void setField3(String field3) {
		this.field3 = field3;
	}

	public String getMessageBody() {
		return this.messageBody;
	}

	public void setMessageBody(String messageBody) {
		this.messageBody = messageBody;
	}

	public String getMessageDataType() {
		return this.messageDataType;
	}

	public void setMessageDataType(String messageDataType) {
		this.messageDataType = messageDataType;
	}

	public String getMessageId() {
		return this.messageId;
	}

	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}

	public short getMessageSendTimes() {
		return this.messageSendTimes;
	}

	public void setMessageSendTimes(short messageSendTimes) {
		this.messageSendTimes = messageSendTimes;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getVersion() {
		return this.version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

}